package com.zxj.pojo.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("tb_shop")
@ApiModel(value="汽车门店", description="汽车门店表")
public class TbShop {

  @TableId
  private long id;
 //private long provinceId;

  //@TableField(value = "city_id")
  //private long cityId;
  //private long areaId;
  private long ishot;
  private String sname;
  private String address;
  private String longitude;
  private String dimensionality;
  //private java.sql.Date addtime;
  @ApiModelProperty(value ="维修时间")
  @TableField(fill = FieldFill.INSERT) //插入时执行
  private Date addtime;

  @ApiModelProperty(value = "省份ID")
  @TableField(value = "province_id")
  private String provinceId;
  @ApiModelProperty(value = "城市ID")
  @TableField(value = "city_id")
  private String cityId;
  @ApiModelProperty(value = "地区ID")
  @TableField(value = "area_id")
  private String areaId;

}
